package com.qingcloud.adminbackend.entity.message;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 事件管理表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_message_send_record")
public class SysMessageSendRecord extends Model {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * sys_message_event事件管理表id
     */
    @ApiModelProperty(value = "事件管理表id")
    private Integer eventId;


    @ApiModelProperty(value = "事件名称")
    private String eventName;

    @ApiModelProperty(value = "发送时间")
    private LocalDateTime sendTime;

    @ApiModelProperty(value = "通知状态0待处理；1已处理；")
    private Integer status;

    @ApiModelProperty(value = "消息发送内容详情")
    private String content;

    @ApiModelProperty(value = "设备id")
    private String equipmentId;

}
